package org.javaqq.face.main.tray;

import java.util.ArrayList;
import java.util.List;

import org.jivesoftware.smack.Chat;
import org.jivesoftware.smack.packet.Message;

public class ChatMessage {
	private Chat chat;
	private List messageList;
	
	public ChatMessage(Chat chat){
		this.chat=chat;
		messageList=new ArrayList();
	}
	
	public Chat getChat() {
		return chat;
	}
	public void setChat(Chat chat) {
		this.chat = chat;
	}
	
	public void addMessage(Message message){
		messageList.add(message);
	}
	
	public List getMessageList() {
		return messageList;
	}

	public void setMessageList(List messageList) {
		this.messageList = messageList;
	}
	
}
